package com.googlecode.afx.view.behavior;

import javafx.scene.Node;

/**
 * Listener interface for reacting on changes in the view state.
 * 
 * @author Martin
 *
 */
public interface ViewStateListener {

	/**
	 * Callback method invoked when the view state is changed.
	 * 
	 * @param rootNode
	 * @param changedNode
	 * @param changeDetails
	 */
	public void onStateChange(Node rootNode, ChangeDetails changeDetails);
	
}
